UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The audit log folder must have correct permissions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-51665 OSX8-00-00220 SV-65875r1_rule Medium
Description
Non-repudiation of actions taken is required in order to maintain integrity. To do this, we will prevent users from modifying the audit logs. Non-repudiation protects individuals against later claims by an author of not having updated a particular file, invoked a specific command, or copied a specific file.
STIG Date
Apple OS X 10.8 (Mountain Lion) Workstation STIG 2015-02-10

Details

Check Text ( C-53971r1_chk )
To check the permissions of the audit log files, run the following command:

sudo -s stat -f "%A:%N" `sudo grep "^dir" /etc/security/audit_control | awk -F: '{print $2}'`

The results should show the permissions (first column) to be "700" or less permissive. If not, this is a finding.
Fix Text (F-56465r1_fix)
If the permissions on the audit log file are incorrect, run the following command:

sudo chmod 700 `grep "^dir" /etc/security/audit_control | awk -F: '{print $2}'`